package com.stylefeng.guns.modular.system.service.impl;

import com.stylefeng.guns.modular.system.model.PhoneModel;
import com.stylefeng.guns.modular.system.dao.PhoneModelMapper;
import com.stylefeng.guns.modular.system.service.IPhoneModelService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 控制手机机型 服务实现类
 * </p>
 *
 * @author kutty
 * @since 2018-12-24
 */
@Service
public class PhoneModelServiceImpl extends ServiceImpl<PhoneModelMapper, PhoneModel> implements IPhoneModelService {

    @Autowired
    PhoneModelMapper phoneModelMapper;

    public PhoneModel selByCpid(PhoneModel phoneModel){
        return phoneModelMapper.selByCpid(phoneModel);
    }

}
